package com.gongj.dto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class A {
	@Autowired
	private B b;

//	public A(B b) {
//		System.out.println("b" + b);
//	}
public void test(){
	System.out.println("属性B = " + b);
}
}
